package com.jltx.xq.coroutinesandrxpro

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.jltx.xq.coroutinesandrxpro.coroutines.CoroutinesLearn4

class MainActivity4 : AppCompatActivity(), View.OnClickListener {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main4)
    }

    override fun onClick(v: View?) {
        when (v?.id) {
            R.id.cor_learn4_1 ->
                CoroutinesLearn4.selectChannel()
        }
    }
}